import 'core-js/stable'
import 'regenerator-runtime/runtime'
import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import '@/assets/reset.css'
import Cookies from 'js-cookie'

Vue.config.productionTip = false

Vue.use(ElementUI);


// 简单的全局 Snackbar 替代（事件总线）
Vue.prototype.$bus = new Vue()

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
